package by.grsu.hdm.media;

import by.grsu.hdm.exceptions.IllegalInternalStateException;

public class RemoteControl extends MediaPlayer {
	
	
	
	public RemoteControl(){
		
	}
	
	
	public void play() throws IllegalInternalStateException{
		play="play";
		pause=null;
		stop=null;
		playerStatus();
	}
	
	public void pause(){
		pause="pause";
		play=null;
		stop=null;
		playerStatus();
	}
	
	public void stop(){
		stop="stop";
		pause=null;
		play=null;
		playerStatus();
	}
}
